﻿@model int?

@(Html.Kendo()
    .ComboBoxFor(m => m)
    .Name("ProblemId")
    .DataTextField("Text")
    .DataValueField("Value")
    .Filter(FilterType.Contains)
    .MinLength(1)
    .Placeholder("Изберете задача")
    .DataSource(data =>
    {
        data.ServerFiltering(true)
            .Read(read =>
            {
                read.Action("GetProblems", "Submissions");
            });
    })
    .HtmlAttributes(new { style = "width: 100%;" }))